package cn.iocoder.yudao.module.system.controller.admin.mini.group.goods.controller.admin.groupgoods.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 拼团商品 Excel 导出 Request VO，参数和 GroupGoodsPageReqVO 是一致的")
@Data
public class GroupGoodsExportReqVO {

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "商品id", example = "3808")
    private Integer goodsId;

    @Schema(description = "商品详情")
    private String goodsInfo;

    @Schema(description = "拼团名称", example = "王五")
    private String name;

    @Schema(description = "拼团模块id", example = "31851")
    private Integer groupId;

    @Schema(description = "开始时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] startTime;

    @Schema(description = "结束时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] entTime;

    @Schema(description = "活动库存")
    private Integer actNum;

    @Schema(description = "已售库存")
    private Integer soldNum;

    @Schema(description = "状态0未审核1上架2下架3已结束", example = "1")
    private Integer status;

    @Schema(description = "拼团人数")
    private Integer groupPerson;

    @Schema(description = "拼团有效期")
    private Integer groupHour;

    @Schema(description = "是否允许单独购买0否1是")
    private Integer isAlone;

    @Schema(description = "是否自动成团0否1是")
    private Integer isGroup;

}
